{% load crispy_forms_tags %}
{% load i18n %}
<div id="form_form">
  <h3>{% trans "Revoke" %}</h3>
  <p>{% trans "This will revoke a user when the integration is triggered in the offboarding sequence or by revoking the user by clicking on the button" %}</p>
  <div>
    <div>
      {% for item, index in existing_form_items %}
        {% include "manifest_test/revoke_disabled_form.html" with form=item %}
      {% endfor %}
    </div>
    <h3> Add form item </h3>
    <form hx-post="{% url 'integrations:manifest-revoke-add' integration.id %}" hx-select="#form_form" hx-target="#form_form">
      {% crispy form %}
      <button class="btn btn-primary">Add revoke item</button>
    </form>
  </div>
</div>
